package cn.dogger.easyboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.core.annotation.Order;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 排除原来默认数据源配置
 * @author Administrator
 */
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
@MapperScan({"cn.dogger.easyboot.*.mapper"})
@ComponentScan({"cn.dogger.easyboot.*"})
public class EasybootMasterApplication {

    public static void main(String[] args) {
        SpringApplication.run(EasybootMasterApplication.class, args);
        System.out.println("(ฅ´ω`ฅ)启动成功");
    }

}
